package com.ruoyi.web.mapper;

import com.ruoyi.web.cp.domain.rm.RmobMerge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface RmobMergeMapper {
    List<RmobMerge> selectByGameIdAndDateRangeTable(@Param("gameId") String gameId,
                                                    @Param("startDate") Date startDate,
                                                    @Param("endDate") Date endDate,
                                                    @Param("tableName") String tableName);

    int insertToTable(@Param("rmobMerge")RmobMerge rmobMerge, @Param("tableName") String tableName);

    int updateByGameIdAndTable(@Param("rmobMerge")RmobMerge rmobMerge, @Param("tableName") String tableName);

}
